package com.hnkywl.sts.service.jggl;

import com.hnkywl.sts.dao.jggl.CkdDao;
import com.hnkywl.sts.entity.jggl.Ckd;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by Melody on 14-3-12.
 */
@Service
public class CkdService {
    private CkdDao ckdDao;


    @Transactional
    public void saveCkd(Ckd ckd) {
        this.ckdDao.save(ckd);
    }

    @Autowired
    public void setCkdDao(CkdDao ckdDao) {
        this.ckdDao = ckdDao;
    }
}
